projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ce591
)
* window.c (window_body_lines): Now static.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 8 Jun 2011 21:45:17 +0000
(14:45 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 8 Jun 2011 21:45:17 +0000
(14:45 -0700)
src/ChangeLog
patch
|
blob
|
history
src/window.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index d25f9910a61b819e63f45422c3cb0ed50e5428b6..704b3e63b28374f924154aead1fa3b51df61e8a6 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2011-06-08 Paul Eggert <eggert@cs.ucla.edu>
+ * window.c (window_body_lines): Now static.
+
* image.c (gif_load): Rename local to avoid shadowing.
* lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow.
diff --git
a/src/window.c
b/src/window.c
index 393a2478ce16b414ba6146b26cd1fe44175b3b5c..493972c7545c10180fa4c3583261973e3143cf05 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-621,7
+621,7
@@
WINDOW can be any window and defaults to the selected one. */)
/* Return the number of lines of W's body. Don't count any mode or
header line of W. */
-int
+
static
int
window_body_lines (struct window *w)
{
int height = XFASTINT (w->total_lines);